.el-tree-node {
  font-size: 14px;
  white-space: nowrap;

  .el-checkbox {
    margin: 0 8px 0 0;
    line-height: 30px;
  }

  &.is-current {
    > .el-tree-node__content {
      color: #fff;
      background-color: @hover-color;

      .el-tree-node__expand-icon {
        color: #fff;

        &.is-leaf {
          color: transparent;
        }
      }
    }
  }
}

.el-tree-node__content {
  display: flex;
  line-height: 30px;
  height: 30px;
  cursor: pointer;
  align-items: center;

  &:hover {
    background-color: @bg-color;
  }
}

.el-tree-node__expand-icon {
  color: @gray-color;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform .3s ease-in-out;

  &.expanded {
    transform: rotate(90deg);
  }

  &.is-leaf {
    color: transparent;
    cursor: default;
  }
}

.el-tree-node__loading-icon {
  &::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid rgba(0, 0, 0, .25);
    border-top-color: rgba(0, 0, 0, .9);
    border-radius: 100%;
    animation: rotation .6s infinite linear;
  }
}

.el-tree__empty-block {
  padding: 20px;
  text-align: center;
}
